package com.onepower.core.modules.repository.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 比赛表
 * </p>
 *
 * @author kin
 * @since 2018-08-16
 */
@TableName("tkd_match")
public class TkdMatch implements Serializable {

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 比赛名称
     */
    @TableField("match_name")
    private String matchName;
    @TableField("match_time")
    private Date matchTime;
    /**
     * 拉取比赛信息url
     */
    @TableField("pull_data_url")
    private String pullDataUrl;
    @TableField("create_time")
    private Date createTime;
    @TableField("creater_id")
    private Integer createrId;
    @TableField("referee_type")
    private Integer refereeType;
    /**
     * 是否联网比赛
     */
    @TableField("pull_data")
    private Boolean pullData;

    @TableField("import_match")
    private Boolean importMatch;

    public Boolean getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(Boolean deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    @TableField("delete_flag")
    private  Boolean deleteFlag;

    public String getMatchName() {
        return matchName;
    }

    public void setMatchName(String matchName) {
        this.matchName = matchName;
    }

    public Date getMatchTime() {
        return matchTime;
    }

    public void setMatchTime(Date matchTime) {
        this.matchTime = matchTime;
    }

    public String getPullDataUrl() {
        return pullDataUrl;
    }

    public void setPullDataUrl(String pullDataUrl) {
        this.pullDataUrl = pullDataUrl;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getCreaterId() {
        return createrId;
    }

    public void setCreaterId(Integer createrId) {
        this.createrId = createrId;
    }

    public Integer getRefereeType() {
        return refereeType;
    }

    public void setRefereeType(Integer refereeType) {
        this.refereeType = refereeType;
    }


    public Boolean getPullData() {
        return pullData;
    }

    public void setPullData(Boolean pullData) {
        this.pullData = pullData;
    }

    @Override
    public String toString() {
        return "TkdMatch{" +
                ", id=" + id +
                ", matchName=" + matchName +
                ", matchTime=" + matchTime +
                ", pullDataUrl=" + pullDataUrl +
                ", createTime=" + createTime +
                ", createrId=" + createrId +
                ", refereeType=" + refereeType +
                ", pullData=" + pullData +
                "}";
    }

    public Boolean getImportMatch() {
        return importMatch;
    }

    public void setImportMatch(Boolean importMatch) {
        this.importMatch = importMatch;
    }
}
